#!/bin/sh

bcast_addr='192.168.20.255' # broadcast address for you network
target_mac="10:6F:3F:A8:03:41" # case does not matter

#walkonlan not internally command need install
#brew install wakeonlan (macos install)
while true; do
  wakeonlan -i $bcast_addr $target_mac
  sleep 120
done
